home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PCMania 19
/
PCMania19.iso
/
Jogos em Flash
/
CARTAS
/
LET_IT_RIDE.SWF
/
scripts
/
DefineButton2_61
/
BUTTONCONDACTION on(press).as
Wrap
Text File
|
2002-05-07
|
1KB
|
58 lines
on(press){
if(tOff == "0")
{
if(betMover == "1")
{
if(Credits >= "150" and "150" >= creditsPlayed)
{
if(OnMax == "3")
{
Credits -= "150";
creditsPlayed += "150";
if(chipRow == "1")
{
tellTarget("/cr2")
{
gotoAndStop("50");
play();
}
tochipRow = "2";
}
if(chipRow == "2")
{
tellTarget("/cr3")
{
gotoAndStop("50");
play();
}
tochipRow = "3";
}
if(chipRow == "3")
{
tellTarget("/cr4")
{
gotoAndStop("50");
play();
}
tochipRow = "4";
}
chipRow = tochipRow;
}
if(OnMax == "0")
{
OnMax = "1";
OnMaxBet = "50";
tellTarget("/b-deal")
{
gotoAndStop(1);
}
tellTarget("/betonme")
{
gotoAndStop("3left");
}
}
}
}
}
}